package com.appkubes.portal.core.entity;

    import com.baomidou.mybatisplus.annotation.TableName;
    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;
    import lombok.Data;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.FieldFill;

/**
 * 应用菜单
 * @author Rongjie
 * @since 2020-02-16
 */
@Data
@TableName("portal_app_menu")
@KeySequence(value = "portal_app_menu_SEQ")
@ApiModel(value = "PortalAppMenu对象")
public class PortalAppMenu implements Serializable{

       private String appKey;

       @TableId(value = "menu_key", type = IdType.UUID)
       private String menuKey;

       @ApiModelProperty(value = "菜单名称")
       private String menuName;

       @ApiModelProperty(value = "菜单类型: 普通：NORMAL, 外部菜单：EXTERN：")
       private String menuType;

       @ApiModelProperty(value = "菜单级别", example = "1")
       private Integer menuLevel;

       @ApiModelProperty(value = "菜单地址")
       private String action;

       @ApiModelProperty(value = "菜单图标")
       private String icon;

       @ApiModelProperty(value = "排序", example = "1")
       private Integer sort;

       @ApiModelProperty(value = "上级菜单地址")
       private String parentMenuKey;

       private String redirectUrl;

       @ApiModelProperty(value = "是否隐藏")
       private String hidden;

       @ApiModelProperty(value = "组件路径")
       private String component;

}
